package com.decorate.demo01;

public class Person implements Say {
	private int voice=10;

	@Override
	public void say() {
		System.out.println("人的声音为："+voice);
	}

	public int getVoice() {
		return voice;
	}

	public void setVoice(int voice) {
		this.voice = voice;
	}

}
